package com.xunbao.thread.util;

/**
 * Created with IntelliJ IDEA.
 * ClassName:ResultObject
 * Description:
 * Author:yijiawei
 * Date: 2016/5/30 9:59
 */
public class ResultObject {

    private boolean isSuccess;
    private String code;
    private String message;

    public ResultObject() {
    }

    public ResultObject(boolean isSuccess, String code, String message) {
        this.isSuccess = isSuccess;
        this.code = code;
        this.message = message;
    }

    public ResultObject(boolean isSuccess) {
        this.isSuccess = isSuccess;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean isSuccess) {
        this.isSuccess = isSuccess;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
